package qldc.pm.tienan.searchcontainer.util.nguoicanxoaantich;

import com.liferay.portal.kernel.util.OrderByComparator;

public class YeuCauXoaAnTichComparatorUtil {
	public static OrderByComparator getYeuCauXoaAnTichComparator(String orderByCol, String orderByType) {
		boolean orderByAsc = false;

		if(orderByType.equals("asc")) {
			orderByAsc = true;
		}

		OrderByComparator orderByComparator = null;

		if(orderByCol.equals("hoVaTenDoiTuongTienAn")) {
			orderByComparator = new YeuCauXoaAnTichHoVaTenComparator(orderByAsc);
		}

		return orderByComparator;
	}
}
